﻿@model Silvia.Models.Admin.LoginModel
@{
    ViewBag.Title = "夕薇雅化妆工作室 -- 登录";
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Scripts/ligerUI/skins/Aqua/css/ligerui-all.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/themes/admin/site.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.7.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/ligerUI/js/core/base.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/ligerUI/js/ligerui.min.js")" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $("#layout").ligerLayout({ leftWidth: 200, topHeight: 50, bottomHeight: 30 });
            var height = $(".l-layout-center").height();

            $("#btnConfirm").ligerButton(
            {
                click: function () {
                    $('form').submit();
                }
            });
        });

    </script>
</head>
<body>
    <div id="layout">
        <div position="top">
            <div class="system_logo">
                @*<img src="../../Content/image/中国南方电网.png" />*@
            </div>
            <div class="system_name">
                <h3>
                    夕薇雅化妆工作室</h3>
            </div>
        </div>
        <div position="center">
            @using (Html.BeginForm())
            {
                <div id="system_login">
                    <div class="system_login_header">
                        <h3>
                            登录</h3>
                    </div>
                    <div class="system_login_center">
                        <div class="system_input_contain">
                            @Html.LabelFor(m => m.UserName)
                            @Html.TextBoxFor(m => m.UserName)
                            @Html.ValidationMessageFor(m => m.UserName, new { style = "color:Red" })
                        </div>
                        <div class="system_input_contain">
                            <label for="Password">
                                密&nbsp;&nbsp;码：</label>
                            @Html.PasswordFor(m => m.Password)
                            @Html.ValidationMessageFor(m => m.Password, new { style = "color:Red" })
                        </div>
                        <div class="system_input_contain">
                            @Html.ValidationMessage("", new { style = "color:Red" })
                        </div>
                        <div class="system_input_contain">
                            <input type="button" value="登录" id="btnConfirm"/>
                        </div>
                    </div>
                </div>
            }
        </div>
        <div position="bottom">
            <div class="system_copy_right">
                &copy; 2011 <a href="#" class="system_link">Your Company</a>, All Rights Reserved
                &reg;</div>
            <div class="system_support">
                技术支持：<a href="#" class="system_link">Anson</a></div>
        </div>
    </div>
</body>
</html>
